package com.geovis.emergency.spd.biz.pc.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.geovis.emergency.spd.entity.pc.entity.PcDrill;
import com.geovis.emergency.spd.entity.pc.entity.PcDrillDisaster;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 应急预案指挥模块-演练灾害表 Mapper 接口
 * </p>
 *
 * @author Lonsho
 * @since 2022-06-08
 */
public interface PcDrillDisasterMapper extends BaseMapper<PcDrillDisaster> {
    /**
     * 获取指挥类型的，未启动或正在演练中的演练
     * @param typhoonNo
     * @return
     */
    List<PcDrill> getDrillByTyphoonNo(@Param("typhoonNo") String typhoonNo);
}
